/**
 * Copyright (c) 2009-2012 XTEAM
 * All rights reserved.
 */
/**
 * File：CfgSyncRemote.java
 * History:
 *         2012-6-15: Initially created, Chrise.
 */
package com.xteam.ecsystem.remote.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xteam.ecsystem.remote.RemoteAdapter;
import com.xteam.ecsystem.system.ConfigManager;

/**
 * 配置同步远程调用。
 * @author Chrise
 */
@Service
public class CfgSyncRemote extends RemoteAdapter {
	
	@Autowired
	private ConfigManager cfgManager;
	
	/**
	 * @see com.xteam.ecsystem.remote.RemoteAdapter#syncSystemConfig()
	 */
	public String syncSystemConfig() {
		return this.cfgManager.syncSystemConfig(null);
	}
	
	/**
	 * @see com.xteam.ecsystem.remote.RemoteAdapter#syncRequestConfig()
	 */
	public String syncRequestConfig() {
		return this.cfgManager.syncRequestConfig(null);
	}
	
	/**
	 * @see com.xteam.ecsystem.remote.IRemote#syncWebConfig()
	 */
	public String syncWebConfig(){
		return this.cfgManager.syncWebConfig(null);
	}
}
